<#ftl encoding="UTF-8" />
        <div class="toolbar noprint">
            <input type="button" name="_ButPrintPreview" value="打印" id="ButPrintPreview" class="act__button noprint" onclick="thisPage.DoPreview();" />
            <span style="margin-left:10px; font-weight:bold;">成品颜色：</span>
            <select name="_ProductColourItemList" id="ProductColourItemList" onchange="thisPage.fetchPrintPreviewData();"
                    style="width:60px; margin-right:10px; border-bottom:1px solid #000; background-color:#e5f3fb; min-width:180px;">
                <option value="">-- 选择成品色 --</option>
            </select>
            <span style="margin-left:10px; font-weight:bold;">使用单位：</span>
            <select name="_Dept" id="Dept" onchange="thisPage.fetchPrintPreviewData();"
                    style="width:60px; margin-right:10px; border-bottom:1px solid #000; background-color:#e5f3fb; min-width:180px;">
                <option value="1">生产部门</option>
                <option value="2" selected>其他部门</option>
            </select>
        </div>
        <div class="blankrow noprint"></div>
        <table style="margin:0 auto; width:1085px;">
            <thead class="page">
                <tr>
                    <th>
                        <table>
                            <tr>
                                <td style="height:20px; font-size:6px; text-align:left;">美香服饰（大连）有限公司</td>
                                <td rowspan="2" style="width:480px;">
                                    <table>
                                        <tr style="height:20px; line-height:20px;">
                                            <td class="cell" style="width:120px;">制表人</td>
                                            <td class="cell" style="width:120px;">贸易部</td>
                                            <td class="cell" style="width:120px;">采购部</td>
                                            <td class="cell" style="width:120px;">审核人</td>
                                        </tr>
                                        <tr style="height:50px; line-height:50px;">
                                            <td class="cell" id="PreparedByName"></td>
                                            <td class="cell" id="SaledByName"></td>
                                            <td class="cell"></td>
                                            <td class="cell" id="CheckedByName"></td>
                                        </tr>                                        
                                    </table>
                                </td>                        
                            </tr>
                            <tr>
                                <td style="padding-top:12px; font-size:26px; text-align:left;">
                                    提前组料单
                                    <span style="display:inline-block; margin-left:10px; font-size:9px;">
                                       （打印日期：<span id="printed_date">2017-12-12</span>）
                                    </span>
                                </td>
                            </tr>
                        </table>                        
                    </th>
                </tr>
                <tr>
                    <td>
                        <table style="margin-top:10px;">
                            <tr>
                                <td style="padding-right:10px;">
                                    <table>
                                        <tr>
                                            <td class="cell" style="width:80px;">客　　户</td>
                                            <td class="cell" id="CustomerName" style="text-align:left; padding-left:5px;"></td>
                                            <td class="cell" style="width:80px;">合&nbsp;&nbsp;同&nbsp;&nbsp;号</td>
                                            <td class="cell" id="ContractNo" style="text-align:left; padding-left:5px;"3216></td>
                                        </tr>
                                        <tr>
                                            <td class="cell">款　　号</td>
                                            <td class="cell" id="StyleNo" style="text-align:left; padding-left:5px;"></td>
                                            <td class="cell">品　　名</td>
                                            <td class="cell" id="ProductName" style="text-align:left; padding-left:5px;"></td>
                                        </tr>
                                        <tr>
                                            <td class="cell">颜　　色</td>
                                            <td id="ProductColourName" class="cell" style="text-align:left; padding-left:5px;"></td>
                                            <td class="cell">产品数量</td>
                                            <td class="cell" id="Quantity" style="text-align:left; padding-left:5px;"></td>
                                        </tr>
                                        <tr>
                                            <td class="cell">单&nbsp;&nbsp;耗&nbsp;&nbsp;员</td>
                                            <td class="cell" id="GradedByName" style="text-align:left; padding-left:5px;"></td>
                                            <td class="cell">制表日期</td>
                                            <td class="cell" id="PreparedDate" style="text-align:left; padding-left:5px;"></td>
                                        </tr>
                                    </table>
                                </td>
                                <td style="width:480px;">
                                    <table style="font-size:12px;">
                                        <tr>
                                            <td style="width:120px; padding: 3px 0;text-align:center; border-top:1px solid #000; border-left:1px solid #000; border-right:1px solid #000;">备注</td>
                                            <td colspan="3" style="border-bottom:1px solid #000;"></td>
                                        </tr>
                                        <tr>
                                            <td colspan="4" id="Description" style="height:57px; text-align:center; vertical-align:middle; padding:3px 5px; border-left:1px solid #000; border-right:1px solid #000; border-bottom:1px solid #000;"></td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr  style="height:10px;"><td>&nbsp;</td></tr>
            </thead>
            <tbody>
                <tr>
                    <td>
                        <table id="table_report">
                            <thead>
                                <tr>
                                    <th class='cell'>#</th>
                                    <th class='cell'>原料名称</th>
                                    <th class='cell'>料号</th>
                                    <th class='cell'>使用部位</th>
                                    <th class='cell'>供应商</th>
                                    <th class='cell'>材料颜色</th>
                                    <th class='cell'>成品尺码</th>
                                    <th class='cell'>规格</th>
                                    <th class='cell'>单位</th>
                                    <th class='cell'>单用量</th>
                                    <th class='cell'>需要数</th>
                                    <th class='cell'>提前组料数</th>
                                    <th class='cell'>库存数</th>
                                    <th class='cell'>订货数</th>
                                    <th class='cell'>备注</th>
                                </tr>
                            </thead>
                            <tbody>
                            </tbody>
                        </table>
                    </td>
                </tr>
            </tbody>
            <tfoot>
                <tr>
                    <td>
                        <table style="margin-top:10px;">
                           <tr>
                                <td style="width:80px;">使用说明：</td>
                                <td>
                                    1、此表由设计技术部填写，制表人及部门负责人需签字确认，一式六份，设计技术、生产部、采购、国际贸易部、原料库各一份，加工厂一份。<br />
                                    2、此表内容如有变更，发放部门应收回旧表，并发放新表。此表保存期限有两年（只限技术部、采购部）。
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">&nbsp;</td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </tfoot>
        </table>